import { Router } from 'express'
const router = Router()
import { createProjectManager, getProjectManager, updateProjectManager, deleteProjectManager } from '../controllers/projectManagers'
import { createEmployeeValidator, deleteEmployeeValidator, updateEmployeeValidator } from '../middlewares/validation'

// router.get('/', getEmployees)
// router.post('/', createEmployeeValidator, createEmployee)
// router.put('/:employeeId', updateEmployeeValidator, updateEmployee)
// router.delete('/:employeeId', deleteEmployeeValidator, deleteEmployee)
// todo: нужно будет доиграться с валидацией
router.get('/', getProjectManager)
router.post('/', createProjectManager)
router.put('/:projectManagerId', updateProjectManager)
router.delete('/:projectManagerId', deleteProjectManager)

export default router
